package br.com.assessoriaesportiva.dao;

import java.util.List;
import java.util.Map;


public interface CrudDAO<T> {

	/**
	 * @return retorna o Id do elemento salvo
	 */
	public Long novo(T t);
	public void atualizar(T t);
	public void excluir(T t);
	public T buscarPorId(Long id);
	public List<T> buscarPorNQ(String namedQuery, Map<String, Object> params);
}
